package com.kaikai.edu.entity.vo;

import com.kaikai.edu.entity.EduPermission;
import com.kaikai.edu.entity.EduRole;
import com.kaikai.edu.entity.EduUser;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @Author yujiankai
 * @Description token返回的用户角色权限信息
 * @date 2021/11/26 10:15
 */
@Data
public class EduUserRoleVo extends EduUser {
    @ApiModelProperty(value = "用户对应的角色")
    private List<EduRole> roles;

    @ApiModelProperty(value = "角色对应的权限")
    private List<EduPermission> permissions;
}
